import request from '@/utils/request'
var server = '/user/'


//用户登录 注册
export function loginMobile (data) {
  return request({
    url: server+'login',
    method: 'post',
    data
  })
}


//查询用户信息
export function getUser (param) {
  return request({
    url: server+'info',
    method: 'get',
    params: param
  })
}